import http from '../utils/http';

export const likeApi = {
  // 切换点赞状态
  toggleLike(noteId) {
    return http.post(`/notes/${noteId}/likes`, {});
  },
};